import request from '@/utils/request'

// 团队列表
export function teamLists(params?: any) {
    return request.get({ url: '/team.team/lists', params })
}

// 新增团队
export function teamAdd(params: any) {
    return request.post({ url: '/team.team/add', params })
}

// 编辑团队
export function teamEdit(params: any) {
    return request.post({ url: '/team.team/edit', params })
}

// 删除团队
export function teamDelete(params: any) {
    return request.post({ url: '/team.team/delete', params })
}

// 团队状态
export function teamStatus(params: any) {
    return request.post({ url: '/team.team/updateStatus', params })
}

// 团队详情
export function teamDetail(params: any) {
    return request.get({ url: '/team.team/detail', params })
}